package tagklassen;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import jtoxsig.IdGenerator;

public class SequenceFlow
{
	private String name;
	private String sourceRef;
	private String targetRef;
	private String id;
	
	@XmlAttribute
	public String getId()
	{
		return id;
	}

	public SequenceFlow() {
		id = IdGenerator.getId();
	}

	public void setId(String id) {
		this.id = id;
	}

	@XmlAttribute
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@XmlAttribute
	public String getSourceRef() {
		return sourceRef;
	}

	public void setSourceRef(String sourceRef) {
		this.sourceRef = sourceRef;
	}

	@XmlAttribute
	public String getTargetRef() {
		return targetRef;
	}

	public void setTargetRef(String targetRef) {
		this.targetRef = targetRef;
	}
}
